package top.hzy520.order.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import top.hzy520.order.service.DemoService;

import javax.annotation.Resource;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 13:20 2018/8/16
 */
@Controller
@RequestMapping("/order")
public class OrderController {

    @Resource
    private DemoService demoService;

    @RequestMapping("/test")
    public void test(){
     demoService.demo();
    }
}
